The replication data and files for the Paper Moderate Opulence: The Evolution of Wealth inequality in Mexico in its first century of independence 

INSTRUCTIONS

The ziped file contains the following files: 

1) wills_clean.xlsx, in which the complete collection of wills is contained. The wills contain year, state wealth not excluding debt, debt and wealtn (net wealth) in mexican pesos of the time.
use the do file cleaningroutine_for_social_tables.do to reproduce the social tables. 

Note: For those not familiar with Mexican geography, Mexico is a federal republic, thus its divided in 32 states, the dataset covers 27 of the 32 states.

2) Alternative you will find the detailed social tables as dta datasets with the names "social table 18101819" "social tables 18201829", etc. 

Note: these detailes social tables files are .dta files, you can open them with stata (any version) or you can open them using R and then convert them to any other data format.

3) You will find the separate xlsx files dividing the wills in decades for example "wills_18301839" that can be used with the do file inequality_analysis_ routine_clean.do, 
with this file you will be able to reprocude the lognormal, generalized beta and lognormalweighted distributions. You will be also able to estimate the unbalanced distribution.
Follow the comments on the do file. 

4) abreviation list for variables in the different files: 

-Gini burr 12 censored = Gini estimates using a burr 12 censored distribution.
-std.err. = Standar errors.
-95% conf. interval = 95% confidence interval.
-occ_clean = Clean Occupational Category
-n = number of observations.
-occ_num = Occupational Category Number.
-class1790 = Class Structure in 1790.
-class1842 = Class Structure in 1842.
-occ = Occupational Category.





